package javango.middleware;

import javango.api.MethodObjectParams;
import javango.http.HttpRequest;
import javango.http.HttpResponse;

public class Middleware {
	
	public HttpResponse processRequest(HttpRequest req) {
		return null;
	}

	public HttpResponse processMethodAndParams(HttpRequest req, MethodObjectParams map) {
		return null;
	}
	

	public HttpResponse processResponse(HttpRequest request, HttpResponse response) {
		return response;
	}
	
	public HttpResponse processException(HttpRequest request, Throwable t) {
		return null;
	}
}
